<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>	
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=9"></meta>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/pages/login/css/main.css" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/pages/login/css/top_style.css" />
<script language="javascript" type="text/javascript" src="<%=request.getContextPath()%>/swordweb/core/jsimport/Sword.js"
  bizJs="['/pages/biz/recruit/recruitForm.js']"></script>
<script language="javascript" type="text/javascript" src="<%=request.getContextPath()%>/plugins/ckeditor/ckeditor.js"></script>
</head>
<body style="border-left: 1px solid #DDD9DA;">
	<div sword="PageInit" name="pageinit_1" onAfter="PageInit_onAfter_pageinit_1()"></div>
	<div class="top_2">
		<div class="top_nav_list">
			<a>发布招聘</a>
		</div>
	</div>
	<div align="center" style="margin-left:25px;margin-top:25px; margin-right: 25px;">
		<div sword="SwordForm" name="form_recruit" style="width:90%">
			<div name="id" type="hidden"></div>
			<div name="webusername" type="hidden"></div>
		    <!--使用不同的class可以获得不同的效果-->
		    <table	class="layout1" >
			    <colgroup>
					<col width="20%" />
				    <col width="30%" />
					<col width="15%" />
				    <col width="35%" />
			    </colgroup>
			    <tr>
			    	<td class="title" colspan="4" >发布招聘</td>
			    </tr>
			    <tr>
			    	<th>招聘标题：</th>
			    	<td colspan="2">
			    		<div name="zpTitle" type="text" rule="must_length;0,100"></div>
			    	</td>
			    </tr>
			    <tr>
			    	<th>联系电话：</th>
			    	<td colspan="2">
			    		<div name="zpLxdh" type="text" rule="must_number_length;0,20"></div>
			    	</td>
			    </tr>
			    <tr>
					<th>设置是否为new</th>
					<td colspan="1">
						<div name="zpSfnew" type="radio" x="30%"  defValue="0"
							<c:if test="${vipsyts <= 0 || newnum <= 0}">
									disable="true"
							</c:if>
						>       
							<div code="0" caption="否"></div>
							<div code="1" caption="是"></div>
						</div>
						<c:if test="${vipsyts <= 0}">
									<span style="color:red;font-weight:900;">(购买vip后可进行设置)</span>
						</c:if>
						<c:if test="${vipsyts > 0 && newnum <= 0}">
									<span style="color:red;font-weight:900;">(您的总new个数不满足设置，请点击购买链接及时购买)</span>
						</c:if>
					</td>
					<th>总new个数</th>
					<td colspan="1">
							<div type="label" name="cBrandNewnum"  x="20%" defValue="${newnum}"></div>个
							<div sword="SwordSubmit" name="buynew" value="购买new" class="red" onclick="SwordSubmit_onclick_buynew()"
								<c:if test="${vipsyts <= 0}">
									disable="true"
								</c:if>
							></div>
					</td>
				</tr>
			    <tr>
			    	<th></th>
			    	<td colspan="3">
			    		<span style="color:red;font-weight:300;">360浏览器请选择极速模式！具体操作见左侧使用帮助！</span>
			    	</td>
			    </tr>
			    <tr>
			    	<th>编辑招聘网页：</th>
			    	<td colspan="3">
			    		<div name="recruitContent" id="webcontent" type="textarea"></div>
			    	</td>
			    </tr>
			</table>
			 <div class="mar_center">
				<span class="fl_340 pad_bot" style="width:35%"></span> 
				<span class="pad_bot bot"><a onclick="a_onclick_yulan()" style="cursor: pointer;">预览web页</a> </span>
				<span class="pad_bot bot"><a onclick="a_onclick_confirmSub()" style="cursor: pointer;">确认提交</a> </span>
			</div>
		</div>
	</div>
	<!-- 预览web页开始 -->
	<div sword="SwordSubmit" name="sub_yl" value="预览" show="false"
		 tid="FreeMarkerService_genHtmlAndGetPath" onSuccess="SwordSubmit_onSuccess_sub_yl()">
		 <div widgetName="form_brandweb"></div>
	</div>
	<!-- 预览web页结束 -->
	<!-- 提交web页开始 -->
	<div sword="SwordSubmit" name="sub_tjweb" value="提交web页" show="false"
		 tid="RecruitService_tjWeb" onSuccess="SwordSubmit_onSuccess_sub_tjweb()">
		 <div widgetName="form_recruit"></div>
	</div>
	<!-- 提交web页结束 -->	
</body>
</html>